package com.jesterplayer.fragment;

import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.actionbarsherlock.app.SherlockFragment;
import com.jesterplayer.R;

public class AlbumFragment extends SherlockFragment {
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.activity_library, container,
				false);
	/*	TextView textView = new TextView(getActivity());
	    textView.setGravity(Gravity.CENTER);
	    textView.setText(savedInstanceState.getString("album"));*/
	    
		return view;
	}

	public void setText(String item) {
		TextView view = (TextView) getView().findViewById(R.id.text_context);
		view.setText(item);
	}
}
